
#include "mega128.h"


void mega128_init() {


        PORTA=0x00;
        DDRA=0xC0;

        PORTB=0x00;
        DDRB=0xFF;

        PORTC=0x00;
        DDRC=0xFF;

        PORTD=0x00;
        DDRD=0xF9;

        PORTE=0x00;
        DDRE=0x8F;

        PORTF=0x00;
        DDRF=0xF0;

        PORTG=0x00;
        DDRG=0x00;


}

void mega128_kill() { ; }

void mega128_reset() { ; }


const BotHWController bhctl = {

  DEVICE_TYPE,
  &mega128_init;
  &mega128_kill;
  &mega128_reset;

};
